# 绘制新型城镇化发展水平折线图
import pandas as pd

from plot_line import plot_line

# 州市：昆明市、曲靖市、玉溪市、楚雄州、红河州
city_name = '红河州'
# 新型城镇化，生态环境
zb_type = '生态环境'
csh_file = zb_type + '-各城市综合得分.xlsx'
title = city_name + '-' + zb_type + '演变趋势'
dataframe = pd.read_excel(csh_file, sheet_name=city_name, index_col=0)
print('-----------原始数据-----------')
print(dataframe)
print(title)
plot_line(dataframe, title)
